//=========================================== 
// create date:  Dec 18th, 2007
// author     :  dragon xiao
// last modify:  Dec 18th, 2007
//===========================================
/**
  * \file       icon.h
  * \brief      define a class to hide the main window as icon on bar 
  * \version    1.0
  * \author     dragon,Fong's National Engineering Co. Ltd 
  * \date       2007-12-18
  * \remarks    there is initial Version
  * \bug        unknown
  * \todo       need for src/icon.cpp
  */
#ifndef  Icons
#define  Icons

#include "dragon.h"

class Icon: public wxTaskBarIcon
{
public:
    Icon(){};
	~Icon(){};
    void OnDClick(wxTaskBarIconEvent&);
	void OnExit(wxCommandEvent& event );
    virtual wxMenu *CreatePopupMenu();

DECLARE_EVENT_TABLE()
};

#endif
